﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="PMS.Web.admin.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>管理员登录</title>
<link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
<link href="images/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../scripts/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../scripts/jquery/jquery.validate.min.js"></script> 
<script type="text/javascript" src="../scripts/jquery/messages_cn.js"></script>
<script type="text/javascript" src="../scripts/ui/js/ligerBuild.min.js"></script>
<script type="text/javascript" src="js/function.js"></script>
<script type="text/javascript">
    //表单验证
    $(function () {
        //检测IE
        if ($.browser.msie && $.browser.version == "6.0") {
            window.location.href = 'ie6update.html';
        }
        $('#txtUserName').focus();
        $("#form1").validate({
            errorPlacement: function (lable, element) {
                element.ligerTip({ content: lable.html(), appendIdTo: lable });
            },
            success: function(lable){
                lable.ligerHideTip();
            }
        });
    });
</script>
</head>
<body class="loginbody">
<form id="form1" runat="server">
<div class="login_div">
	<div class="login_box">
        <div class="login_tip">
            <asp:Label ID="lblTip" runat="server" Text="请输入用户名及密码" Visible="False" />
        </div>
        <div class="login_content">
          <dl>
			<dt>管理员账号：</dt>
            <dd><asp:TextBox ID="txtUserName" runat="server" CssClass="login_input" style="width:180px;border:1px solid #CCCCCC;" /></dd>
          </dl>
          <dl>
			<dt>管理员密码：</dt>
            <dd><asp:TextBox ID="txtUserPwd" runat="server" CssClass="login_input" TextMode="Password" style="width:180px;border:1px solid #CCCCCC;" /></dd>
          </dl>
          <dl>
			<dt>验证码：</dt>
            <dd>
                <asp:TextBox ID="txtCode" runat="server" CssClass="login_input" MaxLength="6" style="width:104px;text-transform:uppercase;border:1px solid #ccc;" />
                <img src="../tools/verify_code.ashx" width="70" height="22" alt="点击切换验证码" title="点击切换验证码" style=" margin-top:2px; vertical-align:top;cursor:pointer;border:1px solid #ccc;" onclick="ToggleCode(this, '../tools/verify_code.ashx');return false;" />
            </dd>
          </dl>
        </div>
        <div class="login_foot">
			<div><asp:Button ID="btnSubmit" runat="server" Text=" " CssClass="login_btn" onclick="btnSubmit_Click" /></div>
			<span style="display:none;"><asp:CheckBox ID="cbRememberId" runat="server" Text="记住用户名" Checked="True" /></span>
		</div>
    </div>
    <div>
    <div style="text-align:center;background:url(Images/loginLR.png);"><img src="Images/loginCenter.png" width="auto" height="auto" style="" /></div>
	<div class="login_copyright">Copyright © 2012 - 2013 iCanPMS. All Rights Reserved.<br />蜻蜓网络 版权所有</div>
    </div>
</div>
</form>
</body>
</html>
